package day12;

public enum EnumDemo {
    F("男"),
    M("女");
    EnumDemo(){
        System.out.println("枚举类型的构造方法被执行了...");
    }

    EnumDemo(String sign){
        this.sign = sign;
        System.out.println("枚举类型的构造方法被执行了...");
    }

    private String sign;

    public String getSign(){
        return sign;
    }
}
